package com.cinc.ebc.mm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cinc.ebc.mm.entity.MmMaterialPickingRet;
import com.cinc.ebc.mm.vo.MmMaterialPickingRetRequestPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 材料退回
 * @Author: jeecg-boot
 * @Date:   2023-04-16
 * @Version: V1.0
 */
public interface MmMaterialPickingRetMapper extends BaseMapper<MmMaterialPickingRet> {

    void autoUpdateStatusById(@Param("id") String id);

    List<MmMaterialPickingRet> selectPageList(Page<MmMaterialPickingRet> page, @Param("materialPickingRetRequest") MmMaterialPickingRetRequestPage materialPickingRetRequest, @Param("permissionSql")String permissionSql);
}
